<div for="order">
		<div class="panel panel-default">
		  <!-- Default panel contents -->
		  <div class="panel-heading"><b>推广员管理</b></div>
	
		<div class="panel-body">
		  <!-- List group -->
		  <ul class="list-group" style="width:50%; float:left;">
			<li class="list-group-item">email: <?php echo $dt['spreaduser']->email; ?></li>
			<li class="list-group-item">注册IP: <?php echo $dt['spreaduser']->ip; ?></li>
			<li class="list-group-item">电话：<?php echo $dt['spreaduser']->phone; ?></li>
			<li class="list-group-item">地址: <?php echo $dt['spreaduser']->address; ?></li>
			<li class="list-group-item">状态：<?php echo $dt['spreaduser']->isactive?'<span style="color:green;">激活</span>':'<span style="color:red;">冻结</span>'; ?></li>
			<li class="list-group-item">冻结原因：<?php echo $dt['spreaduser']->isactive?'':$dt['spreaduser']->reason; ?></li>
			<li class="list-group-item">银行卡号：<?php echo $dt['spreaduser']->card; ?>&nbsp;&nbsp;&nbsp;&nbsp;|<a  href="<?php echo '/sdksystem/withdrawal?mid='.$dt['spreaduser']->mid; ?>">提现记录查询</a></li>
			<li class="list-group-item">
			<form action="/spreaduser/isactive/<?php echo $dt['spreaduser']->mid; ?>" method="post">
			<input type="radio" name="audit" value="1" <?php if($dt['spreaduser']->isactive==1): ?>checked="checked"<?php endif;?>/> 激活 <input type="radio" name="audit" value="0" <?php if($dt['spreaduser']->isactive==0): ?>checked="checked"<?php endif;?> /> 冻结<br/>
			操作原因:<TEXTAREA rows="5" cols="30" name="reason"></TEXTAREA>
			<input type="submit" value="提交"/>
			</form>
			</li>
			<li class="list-group-item">
			选择推广网站：<br/>
			<form action="/spreaduser/tgwz" method="post">
				<table >
				<input type="hidden" name="mid" value="<?php echo $dt['spreaduser']->mid; ?>"/>
				<?php foreach ($dt['sites'] as $k=>$v):?>
				<tr><td><?php echo $v->sitename;?></td><td> <?php if($v->mid):?>已经被选择！<?php else:?><input type="checkbox" name="siteids[]" value="<?php echo $v->siteid;?>"><?php endif;?></td></tr>
				<?php endforeach;?>
				<tr><td><input type="submit" value="提交"></td></tr>
				</table>
			</form>
			</li>
		  </ul>
		  <ul class="list-group" style="width:50%; float:left;">

			  	<?php foreach($dt['sdk_site'] as $k=>$v):?>
					<li class="list-group-item"><?php echo $v->sitename; ?>:
					<form action="/spreaduser/percentage" method="post">
					<input type="hidden" name="mid" value="<?php echo $dt['spreaduser']->mid; ?>" />
					<input type="hidden" name="siteid" value="<?php echo $v->siteid;?>" />
					<input type="text" name="percentage" value="<?php echo $v->percentage;?>"/>
					<input type="submit" value="提交" />
					</form>
					</li>
				<?php endforeach ?>
		  </ul>
		  </div>
		</div>
</div>
